package com.brillilab.starter.entity.resp.lab;

import com.brillilab.domain.enums.lab.LabUserCardEnum;
import lombok.Data;

@Data
public class CardStateResp {
    private Integer type;
    private String name;

    public CardStateResp(LabUserCardEnum.State state) {
        this.type=state.getValue();
        this.name=state.getKey();
    }

    public CardStateResp(Integer type,String name) {
        this.type=type;
        this.name=name;
    }
}
